<div id="mainMenu">
<?php
		$alias = $this->params['pass'][0];
		echo "<h3 class='bg1'>menu</h3>";
		echo "<ul>";
		echo "<li><a href=".$html->url('/site/'.$alias).">Página Principal</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/perfil').">Perfil</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/album').">Albuns</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/videos').">Videos</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/noticias').">Notícias</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/eventos').">Eventos</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/downloads').">Downloads</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/atividades/').">Atividades</a></li>";
		echo "<li><a href=".$html->url('/site/'.$alias.'/apoio/').">Apoio</a></li>";
		echo "</ul>";
		
		if (isset($profile_menu['Profile']['visible_nome_organization'])&&(!empty($profile_menu['Profile']['visible_nome_organization']))) {
			echo "<div id='menuinfobox'>";
			if($profile_menu['Profile']['visible_nome_organization']==true){echo "<span class='menuinfo'>".$organization['Organization']['nome']."</span></span><br/>";}
			if($profile_menu['Profile']['visible_endereco_organization']==true){echo "<span class='menuinfo'><span>".$organization['Organization']['endereco']."</span></span><br/>";}
			if($profile_menu['Profile']['visible_bairro_organization']==true){echo "<span class='menuinfo'><span>".$organization['Organization']['bairro']."</span></span><br/>";}

			if($profile_menu['Profile']['visible_cidade_organization']==true){
				if (isset($cidade_menu['Cidade']['nome'])){ 
					$estado = $cidade_menu['Estado']['nome'];
				}else {
					$estado = '';
				}
				echo "<span class='menuinfo'><span>".$cidade_menu['Cidade']['nome']." - ".$estado."</span></span> ";
			}
			if($profile_menu['Profile']['visible_telefone_organization']==true){echo "<span class='menuinfo'><span>".$organization['Organization']['telefone']."</span></span><br/>";}
			if($profile_menu['Profile']['visible_email_organization']==true){echo "<span class='menuinfo'><span>".$organization['Organization']['email']."</span></span><br/>";}
			echo "</div>";
		}
?>
</div>
